<?php $joueur=$_SESSION["joueur"];?>
<form id="form_modify">

	<input type="text" id="new_nom" name="new_nom" required="required" placeholder="Nouveau nom" maxlength="30" value="<?php echo $joueur->getNom();?>"/>

	<input type="text" id="new_prenom" name="new_prenom" required="required" placeholder="Nouveau prénom" maxlength="30" value="<?php echo $joueur->getPrenom();?>"/>

	<input type="email" id="new_mail" name="new_mail" required="required" placeholder="Nouvelle adresse mail" maxlength="30" value="<?php echo $joueur->getMail();?>"/>
	
	<span id="info_modif">Laisser les champs suivants vides, si vous ne voulez pas changer de mot de passe</span>
	<input type="password" id="old_password" name="old_password" required="required" placeholder="Ancien mot de passe" maxlength="30" />

	<input type="password" id="new_password" name="new_password" required="required" placeholder="Nouveau mot de passe" maxlength="30" />

	<input type="password" id="new_conf_password" name="new_conf_password" disabled="disabled" required="required" placeholder="Confirmation nouveau mot de passe" maxlength="30" />

	<input type="button" id="modifier" name="modifier" value="Modifier" />
	
</form>
<script type="text/javascript" src="<?php echo $GLOBALS["siteUrl"]?>js/form.modify.js"></script>
<div class="message"></div>